import request from '@/api/request'
// 封装请求  类别接口 用于数据可视化
const token = localStorage.getItem('token')
export const classLable = () => {
  return request({
    url: '/tcCategoryMedicine/tcInfo',
    method: 'GET',
    headers: {
      accept: 'application/json',
      Authorization: `Bearer ${token}`
    }
  })
}

export const classLable2 = () => {
  return request({
    url: '/wCategoryMedincine/vmInfo',
    method: 'GET',
    headers: {
      accept: 'application/json',
      Authorization: `Bearer ${token}`
    }
  })
}
